#![allow(unused_assignments)]
extern crate proc_macro;

mod db;

use proc_macro::TokenStream;


use db::impl_curd_entry;


#[proc_macro_attribute]
pub fn curd_entry(_attr: TokenStream, item: TokenStream) -> TokenStream {
    let ast = syn::parse(item).unwrap();
    // Build the impl
    impl_curd_entry(&ast)
}